package com.zzptc.fxh.myapplication.entity;

import java.io.Serializable;
import java.util.List;

public class FactoryInfo implements Serializable {
    private int status;
    private String message;
    private List<Factory> data;

    public FactoryInfo() {
    }

    public FactoryInfo(int status, String message, List<Factory> data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Factory> getData() {
        return data;
    }

    public void setData(List<Factory> data) {
        this.data = data;
    }

    public static class Factory{
        private int id;
        private int userFactoryId;
        private List<Line> lines;
        private String loginName;
        private String nickName;
        private int capacity1;
        private int capacity2;
        private int gold;
        private int day;
        private boolean isLighting;
        private String illumination;
        private String workshopTemp;
        private String power;
        private String time;
        private String acSwitch;
        private String outdoorTemp;
        private String powerConsume;

        public Factory() {
        }

        public Factory(int id, int userFactoryId, List<Line> lines, String loginName, String nickName, int capacity1, int capacity2, int gold, int day, boolean isLighting, String illumination, String workshopTemp, String power, String time, String acSwitch, String outdoorTemp, String powerConsume) {
            this.id = id;
            this.userFactoryId = userFactoryId;
            this.lines = lines;
            this.loginName = loginName;
            this.nickName = nickName;
            this.capacity1 = capacity1;
            this.capacity2 = capacity2;
            this.gold = gold;
            this.day = day;
            this.isLighting = isLighting;
            this.illumination = illumination;
            this.workshopTemp = workshopTemp;
            this.power = power;
            this.time = time;
            this.acSwitch = acSwitch;
            this.outdoorTemp = outdoorTemp;
            this.powerConsume = powerConsume;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserFactoryId() {
            return userFactoryId;
        }

        public void setUserFactoryId(int userFactoryId) {
            this.userFactoryId = userFactoryId;
        }

        public List<Line> getLines() {
            return lines;
        }

        public void setLines(List<Line> lines) {
            this.lines = lines;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public int getCapacity1() {
            return capacity1;
        }

        public void setCapacity1(int capacity1) {
            this.capacity1 = capacity1;
        }

        public int getCapacity2() {
            return capacity2;
        }

        public void setCapacity2(int capacity2) {
            this.capacity2 = capacity2;
        }

        public int getGold() {
            return gold;
        }

        public void setGold(int gold) {
            this.gold = gold;
        }

        public int getDay() {
            return day;
        }

        public void setDay(int day) {
            this.day = day;
        }

        public boolean isLighting() {
            return isLighting;
        }

        public void setLighting(boolean lighting) {
            isLighting = lighting;
        }

        public String getIllumination() {
            return illumination;
        }

        public void setIllumination(String illumination) {
            this.illumination = illumination;
        }

        public String getWorkshopTemp() {
            return workshopTemp;
        }

        public void setWorkshopTemp(String workshopTemp) {
            this.workshopTemp = workshopTemp;
        }

        public String getPower() {
            return power;
        }

        public void setPower(String power) {
            this.power = power;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getAcSwitch() {
            return acSwitch;
        }

        public void setAcSwitch(String acSwitch) {
            this.acSwitch = acSwitch;
        }

        public String getOutdoorTemp() {
            return outdoorTemp;
        }

        public void setOutdoorTemp(String outdoorTemp) {
            this.outdoorTemp = outdoorTemp;
        }

        public String getPowerConsume() {
            return powerConsume;
        }

        public void setPowerConsume(String powerConsume) {
            this.powerConsume = powerConsume;
        }

        public static class Line{
            private int id;
            private int lineId;
            private int status;
            private int costTime;
            private int isAI;
            private List<Pos> poses;

            public Line() {
            }

            public Line(int id, int lineId, int status, int costTime, int isAI, List<Pos> poses) {
                this.id = id;
                this.lineId = lineId;
                this.status = status;
                this.costTime = costTime;
                this.isAI = isAI;
                this.poses = poses;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getLineId() {
                return lineId;
            }

            public void setLineId(int lineId) {
                this.lineId = lineId;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getCostTime() {
                return costTime;
            }

            public void setCostTime(int costTime) {
                this.costTime = costTime;
            }

            public int getIsAI() {
                return isAI;
            }

            public void setIsAI(int isAI) {
                this.isAI = isAI;
            }

            public List<Pos> getPoses() {
                return poses;
            }

            public void setPoses(List<Pos> poses) {
                this.poses = poses;
            }

            public static class Pos{
                private int pos;
                private String userPersonId;

                public Pos() {
                }

                public Pos(int pos, String userPersonId) {
                    this.pos = pos;
                    this.userPersonId = userPersonId;
                }

                public int getPos() {
                    return pos;
                }

                public void setPos(int pos) {
                    this.pos = pos;
                }

                public String getUserPersonId() {
                    return userPersonId;
                }

                public void setUserPersonId(String userPersonId) {
                    this.userPersonId = userPersonId;
                }
            }
        }
    }
}
